package com.elmcode.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elmcode.server.entity.BookEntity;
import com.elmcode.server.vo.BookDetailInfoVo;
import com.elmcode.server.vo.BookResqVo;

import java.util.List;
import java.util.Map;

/**
 * 订单
 *
 * @author laozj
 * @email laozj@elm.com
 * @date 2024-06-13 13:05:04
 */
public interface BookService extends IService<BookEntity> {

    BookResqVo queryPage(Map<String, Object> params);

    BookDetailInfoVo getByNum(String num);

    void receive(String num);

    void reject(String num, String rejectReason);

    void delivery(String num);

    void complete(String num);

    void updateByNum(BookEntity order);

    BookEntity getOrderByNum(String num);

    List<BookEntity> orderCancel();
}

